/* _NSPROJ_MPI_H_
 * 
 * SOLVES THREE DIMENSIONAL, INCOMPRESSIBLE NAVIER-STOKES
 * EQUATION WITH RECTANGULAR DOMAIN USING FINITE DIFFERENCING 
 * ON A STAGGERED GRID
 * UTILIZES THE PROJECTION METHOD.  THE CONSERVATIVE FORM
 * CONVECTION IS DISCRETIZED WITHOUT THE USE OF UPWIND TREATMENT; 
 * BOTH THE ADVECTION AND DIFUSSION TERMS ARE TREATED EXPLICITLY. 
 * THE CURRENT SETUP IS FOR A LID DRIVEN CAVITY PROBLEM WITH A WELL
 * KNOWN VELOCITY AT THE TOP AND NO-SLIP BOUNDARY CONDIITIONS AT
 * ALL OTHER BOUNDARIES
 * 
 * ORIGINALLY WRITTEN BY DR. ZHI-GANG FENG: UNIVERSITY OF NORTH TEXAS
 * 
 * PORTED TO C AND 3D BY JOHN LEIDEL: GRADUATE STUDENT
 * 
 */

#ifndef _NSPROJ_MPI_H_
#define _NSPROJ_MPI_H_

//---------------------------------------MACROS
#define _MAX_MPI_THREADS_ 1024
//---------------------------------------------


//---------------------------------------DATATYPES

//--PROCESSOR BREAKOUTS
typedef struct{
    int startx[_MAX_MPI_THREADS_];
    int starty[_MAX_MPI_THREADS_];
    int startz[_MAX_MPI_THREADS_];
    int endx[_MAX_MPI_THREADS_];
    int endy[_MAX_MPI_THREADS_];
    int endz[_MAX_MPI_THREADS_];
}NSPROCS;
//------------------------------------------------

#endif
/* EOF */
